package com.example.service;

import com.example.entity.ProductCategory;
import java.util.List;

public interface ProductCategoryService {
    ProductCategory createCategory(ProductCategory category);
    boolean deleteCategory(Long id);
    ProductCategory updateCategory(ProductCategory category);
    ProductCategory getCategoryById(Long id);
    List<ProductCategory> getAllCategories();
    ProductCategory getCategoryByName(String name);
}